package com.lyh.mall.product.dao;

import com.lyh.mall.product.entity.CategoryBrandRelationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 品牌分类关联
 * 
 * @author lyh
 * @email 1964059406@qq.com
 * @date 2021-09-25 20:00:20
 */
@Mapper
public interface CategoryBrandRelationDao extends BaseMapper<CategoryBrandRelationEntity> {

    /**
     * 修改分类表同步更新关联数据表
     * @param catId 分类id
     * @param name 分类名字
     */
    void updateCatelogName(@Param("catId") Long catId, @Param("name") String name);
}
